package o2o.dao.VO.game;

//分享红包信息
public class RedPacketRecordVO {

    private Long id;// ID

    private String fromUsername;    // 发红包者账号
    private String toUsername;      // 领红包者账号
    private String toUser;          // 领红包者姓名
    private String toUserAvatar;    // 领红包者姓名

    private Integer isAccept;       // 是否领取红包 o未领取 1已领取
    private Integer isUsed;         // 是否已使用 o未使用 1已使用

    private Integer selfUsed;       // 发布者是否已使用  1已使用 0未使用
    private Integer selfUsedTime;   // 发布者使用红包时间

    private Double price;           // 红包金额
    private Double shopPrice;       // 红包金额
    private Double platformPrice;   // 红包金额
    private Double priceRang;       // 红包使用门槛（即大于多少时才可以使用，-1不限金额）

    private Long pId;//红包活动id


    private Integer bossType;//活动主办方  1平台 2店铺
    private Integer packetType;//红包类型  1分享红包 2领取红包

    private String shopUsername;//主办方账号（店铺账号）
    private Long shopId;//主办方Id（店铺Id）
    private String shopAddress;     // 商户地址
    private String shopName;        // 店铺名称

    private Integer gameType;//活动类型  1满减  2满赠  3首单减  4首单赠

    private Long startTime;//活动开始时间
    private Long endTime;//活动结束时间

    private Integer canEnjoyTimes;//可参加次数（-1为无限次）

    private Integer totalCounts;//红包总个数 （-1为无数个）


    private String name;//红包名称
    private String nameLang;    // 名称多语言
    private String descs;//红包描述
    private String note;//红包备注

    private int delFlag;// 是否已删除(0未删除,1已删除)
    private String createUser;// 创建者
    private Long createTime;// 创建日期 141231212423423时间戳毫秒级标识
    private String updateUser;// 最后更新着

    public String getNameLang() {
        return nameLang;
    }

    public RedPacketRecordVO setNameLang(String nameLang) {
        this.nameLang = nameLang;
        return this;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFromUsername() {
        return fromUsername;
    }

    public void setFromUsername(String fromUsername) {
        this.fromUsername = fromUsername;
    }

    public String getToUsername() {
        return toUsername;
    }

    public void setToUsername(String toUsername) {
        this.toUsername = toUsername;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getToUserAvatar() {
        return toUserAvatar;
    }

    public void setToUserAvatar(String toUserAvatar) {
        this.toUserAvatar = toUserAvatar;
    }

    public Integer getIsAccept() {
        return isAccept;
    }

    public void setIsAccept(Integer isAccept) {
        this.isAccept = isAccept;
    }

    public Integer getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(Integer isUsed) {
        this.isUsed = isUsed;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getShopPrice() {
        return shopPrice;
    }

    public void setShopPrice(Double shopPrice) {
        this.shopPrice = shopPrice;
    }

    public Double getPlatformPrice() {
        return platformPrice;
    }

    public void setPlatformPrice(Double platformPrice) {
        this.platformPrice = platformPrice;
    }

    public Double getPriceRang() {
        return priceRang;
    }

    public void setPriceRang(Double priceRang) {
        this.priceRang = priceRang;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public Integer getBossType() {
        return bossType;
    }

    public void setBossType(Integer bossType) {
        this.bossType = bossType;
    }

    public Integer getPacketType() {
        return packetType;
    }

    public void setPacketType(Integer packetType) {
        this.packetType = packetType;
    }

    public String getShopUsername() {
        return shopUsername;
    }

    public void setShopUsername(String shopUsername) {
        this.shopUsername = shopUsername;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public RedPacketRecordVO setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
        return this;
    }

    public String getShopName() {
        return shopName;
    }

    public RedPacketRecordVO setShopName(String shopName) {
        this.shopName = shopName;
        return this;
    }

    public Integer getGameType() {
        return gameType;
    }

    public void setGameType(Integer gameType) {
        this.gameType = gameType;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getCanEnjoyTimes() {
        return canEnjoyTimes;
    }

    public void setCanEnjoyTimes(Integer canEnjoyTimes) {
        this.canEnjoyTimes = canEnjoyTimes;
    }

    public Integer getTotalCounts() {
        return totalCounts;
    }

    public void setTotalCounts(Integer totalCounts) {
        this.totalCounts = totalCounts;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescs() {
        return descs;
    }

    public void setDescs(String descs) {
        this.descs = descs;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getSelfUsed() {
        return selfUsed;
    }

    public void setSelfUsed(Integer selfUsed) {
        this.selfUsed = selfUsed;
    }

    public Integer getSelfUsedTime() {
        return selfUsedTime;
    }

    public void setSelfUsedTime(Integer selfUsedTime) {
        this.selfUsedTime = selfUsedTime;
    }
}
